package com.it.service;

import com.it.pojo.Role;

import java.util.List;

/**
 * @author: zgc
 * @version: 1.0
 * @description:
 * @date: 2023/12/15 15:01
 */
public interface RoleService {

    Role findById(String id);

    List<Role> findAll();

    int updateRoleId(String roleId,String userId);

    /*假删除*/
    int deleteByRolId(String roleId);


    /*根据roleId修改信息*/
    int updateRole(Role role);

}
